package com.toubutu.audio.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.toubutu.audio.dto.RecordHistoryDto;
import com.toubutu.audio.entity.History;
import com.toubutu.audio.dto.QueryHistoryDto;
import com.toubutu.audio.vo.HistoryVo;
import com.toubutu.common.PageUtils;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 戒躁
 * @since 2024-02-25
 */
public interface HistoryService extends IService<History> {
    PageUtils<HistoryVo> getUserHistory(QueryHistoryDto dto);

    void recordHistory(RecordHistoryDto recordHistoryDto);
}
